package com.by.service;

import com.by.bean.Products;
import com.by.common.bean.PageBean;
import com.by.common.crud.BaseService;
import com.by.query.ProductQuery;

import java.util.List;
import java.util.Map;

/**
 * @author Hzy
 * @version 1.0
 * @date 2025/2/18  19:47
 * @description
 * @since jdk11
 */
public interface ProductService extends BaseService<Products> {

    PageBean queryByMap(ProductQuery query);

    /**
     * 根据查询产品
     * @param id
     * @return
     */
    Products get(String id);

}
